﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LevelEditor
{
    class BackgroundDoors:Tile
    {
        private string _nextRoom;
        private bool _locked;
        private string _exitLoc;
        private int _areaNum;

        public string NextRoom
        {
            get { return _nextRoom; }
            set { _nextRoom = value; }
        }
        public bool Locked
        {
            get { return _locked; }
            set { _locked = value; }
        }
        public string ExitLoc
        {
            get { return _exitLoc; }
            set { _exitLoc = value; }
        }
        public int AreaNum
        {
            get { return _areaNum; }
            set { _areaNum = value; }
        }
        public BackgroundDoors(String nm, bool collide, bool push, char type, int locX, int locY, string nextRoom, bool locked, string exitLoc, int area)
            : base(nm, collide, push, type, locX, locY)
        {
            NextRoom = nextRoom;
            Locked = locked;
            ExitLoc = exitLoc;
            AreaNum = area;
        }
    }
}
